//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-02B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Mac King Comedy Magic Show','Thunderland Showroom at Excalibur Hotel & Casino','Las Vegas, NV','Thursday','5/2/2024','3:00 PM','5950810','Mac-King-Comedy-Magic-Show-5-2-2024'],['Farrell Dillon','Jimmy Kimmel's Comedy Club at the LINQ','Las Vegas, NV','Thursday','5/2/2024','4:00 PM','6288025','Farrell-Dillon-5-2-2024'],['The Sphere Experience: Postcard from Earth','The Sphere At the Venetian Las Vegas','Las Vegas, NV','Thursday','5/2/2024','4:30 PM','6207768','The-Sphere-Experience--Postcard-from-Earth-5-2-2024'],['The Australian Bee Gees','Thunderland Showroom at Excalibur Hotel & Casino','Las Vegas, NV','Thursday','5/2/2024','5:00 PM','5951473','The-Australian-Bee-Gees-5-2-2024'],['Soul Of Motown','Westgate Cabaret At Westgate Las Vegas Resort & Casino','Las Vegas, NV','Thursday','5/2/2024','5:30 PM','6127642','Soul-Of-Motown-5-2-2024'],['P.O.D.','House Of Blues - Las Vegas','Las Vegas, NV','Thursday','5/2/2024','6:00 PM','6292198','P-O-D--5-2-2024'],['UNLV Rebels vs. San Diego State Aztecs','Eller Media Softball Stadium','Las Vegas, NV','Thursday','5/2/2024','6:00 PM','6296650','UNLV-Rebels-vs--San-Diego-State-Aztecs-5-2-2024'],['America's Got Talent','Luxor Theater at The Luxor Hotel','Las Vegas, NV','Thursday','5/2/2024','6:00 PM','6106682','America-s-Got-Talent-5-2-2024'],['Tournament of Kings','Excalibur Arena at Excalibur Hotel & Casino','Las Vegas, NV','Thursday','5/2/2024','6:00 PM','6182937','Tournament-of-Kings-5-2-2024'],['BattleBots Destruct-A-Thon','BattleBots Arena','Las Vegas, NV','Thursday','5/2/2024','6:30 PM','6197633','BattleBots-Destruct-A-Thon-5-2-2024']],'"Las Vegas"','https://www.ticketnetwork.com');